home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
gnu
/
recode.lha
/
recode-3.2.4
/
merged.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-25
|
73KB
|
2,515 lines
/* A lexical scanner generated by flex */
/* scanner skeleton version:
* $Header: /usr0/tmp/flex-2.3.7/RCS/flex.skel 1.1 1992/07/30 00:15:54 pinard Exp pinard $
*/
#define FLEX_SCANNER
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include <stdlib.h>
#include <osfcn.h>
/* use prototypes in function declarations */
#define YY_USE_PROTOS
/* the "const" storage-class-modifier is valid */
#define YY_USE_CONST
#else /* ! __cplusplus */
#ifdef __STDC__
#ifdef __GNUC__
#include <stddef.h>
void *malloc( size_t );
void free( void* );
#else
#include <stdlib.h>
#endif /* __GNUC__ */
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#define YY_USE_CONST
#endif
#ifndef YY_USE_CONST
#define const
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
/* we can't get here if it's an ANSI C compiler, or a C++ compiler,
* so it's got to be a K&R compiler, and therefore there's no standard
* place from which to include these definitions
*/
char *malloc();
int free();
int read();
#endif
/* amount of stuff to slurp up with each read */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* returned upon end-of-file */
#define YY_END_TOK 0
/* copy whatever the last rule matched to the standard output */
/* cast to (char *) is because for 8-bit chars, yytext is (unsigned char *) */
/* this used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite()
*/
#define ECHO (void) fwrite( (char *) yytext, yyleng, 1, yyout )
/* gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#define YY_INPUT(buf,result,max_size) \
if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
YY_FATAL_ERROR( "read() in flex scanner failed" );
#define YY_NULL 0
/* no semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#define yyterminate() return ( YY_NULL )
/* report a fatal error */
/* The funky do-while is used to turn this macro definition into
* a single C statement (which needs a semi-colon terminator).
* This avoids problems with code like:
*
* if ( something_happens )
* YY_FATAL_ERROR( "oops, the something happened" );
* else
* everything_okay();
*
* Prior to using the do-while the compiler would get upset at the
* "else" because it interpreted the "if" statement as being all
* done when it reached the ';' after the YY_FATAL_ERROR() call.
*/
#define YY_FATAL_ERROR(msg) \
do \
{ \
(void) fputs( msg, stderr ); \
(void) putc( '\n', stderr ); \
exit( 1 ); \
} \
while ( 0 )
/* default yywrap function - always treat EOF as an EOF */
#define yywrap() 1
/* enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN
*/
#define BEGIN yy_start = 1 + 2 *
/* action number for EOF rule of a given start state */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* special action meaning "start processing a new file" */
#define YY_NEW_FILE \
do \
{ \
yy_init_buffer( yy_current_buffer, yyin ); \
yy_load_buffer_state(); \
} \
while ( 0 )
/* default declaration of generated scanner - a define so the user can
* easily add parameters
*/
#define YY_DECL int yylex YY_PROTO(( void ))
/* code executed at the end of each rule */
#define YY_BREAK break;
#define YY_END_OF_BUFFER_CHAR 0
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2) /* size of default input buffer */
#endif
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#define YY_CHAR unsigned char
# line 1 "<stdin>"
#define INITIAL 0
# line 2 "<stdin>"
#include "common.h"
#ifdef USE_FPUTC
#define output(ch) fputc (ch, yyout)
#else
#define output(ch) putc (ch, yyout)
#endif
extern YY_CHAR *yytext;
extern int yyleng;
extern FILE *yyin, *yyout;
# line 13 "<stdin>"
extern int diacritics_only;
#define X_ascii_latex 1
# line 17 "<stdin>"
extern char diaeresis_char; /* Character for diaeresis */
#define X_ascii_texte 2
# line 21 "<stdin>"
extern int diacritics_only;
#define X_latex_ascii 3
# line 26 "<stdin>"
extern int diacritics_only;
#define X_latex_latin1 4
# line 30 "<stdin>"
extern char diaeresis_char; /* Character for diaeresis */
void
texte_ascii_diaeresis (void)
{
int counter;
for (counter = 0; counter < yyleng; counter++)
if (yytext[counter+1] == diaeresis_char)
{
output ('"');
output ('\b');
output (yytext[counter]);
counter++;
}
else
output (yytext[counter]);
}
#define X_texte_ascii 5
# line 52 "<stdin>"
extern char diaeresis_char; /* Character for diaeresis */
void
texte_latin1_diaeresis (void)
{
int counter;
for (counter = 0; counter < yyleng; counter++)
if (yytext[counter+1] == diaeresis_char)
{
switch (yytext[counter])
{
/* The following #ifdef removes the case 'A': this seemingly
unrelated line triggers a `NULL in input' diagnostic in flex.
Would you believe? */
#if 0
case 'A': output ('\304'); break;
#endif
case 'E': output ('\313'); break;
case 'I': output ('\317'); break;
case 'O': output ('\326'); break;
case 'U': output ('\334'); break;
case 'a': output ('\344'); break;
case 'e': output ('\353'); break;
case 'i': output ('\357'); break;
case 'o': output ('\366'); break;
case 'u': output ('\374'); break;
case 'y': output ('\377'); break;
default: output (yytext[counter]);
}
counter++;
}
else
output (yytext[counter]);
}
#define X_texte_latin1 6
# line 87 "<stdin>"
/* done after the current pattern has been matched and before the
* corresponding action - sets up yytext
*/
#define YY_DO_BEFORE_ACTION \
yytext = yy_bp; \
yyleng = yy_cp - yy_bp; \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* return all but the first 'n' matched characters back to the input stream */
#define yyless(n) \
do \
{ \
/* undo effects of setting up yytext */ \
*yy_cp = yy_hold_char; \
yy_c_buf_p = yy_cp = yy_bp + n; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yytext )
struct yy_buffer_state
{
FILE *yy_input_file;
YY_CHAR *yy_ch_buf; /* input buffer */
YY_CHAR *yy_buf_pos; /* current position in input buffer */
/* size of input buffer in bytes, not including room for EOB characters */
int yy_buf_size;
/* number of characters read into yy_ch_buf, not including EOB characters */
int yy_n_chars;
int yy_eof_status; /* whether we've seen an EOF on this buffer */
#define EOF_NOT_SEEN 0
/* "pending" happens when the EOF has been seen but there's still
* some text process
*/
#define EOF_PENDING 1
#define EOF_DONE 2
};
static YY_BUFFER_STATE yy_current_buffer;
/* we provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state"
*/
#define YY_CURRENT_BUFFER yy_current_buffer
/* yy_hold_char holds the character lost when yytext is formed */
static YY_CHAR yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
#ifndef YY_USER_INIT
#define YY_USER_INIT
#endif
extern YY_CHAR *yytext;
extern int yyleng;
extern FILE *yyin, *yyout;
YY_CHAR *yytext;
int yyleng;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
#define YY_END_OF_BUFFER 223
typedef int yy_state_type;
static const short int yy_accept[652] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 223, 222, 222, 1, 2, 3,
4, 222, 222, 222, 222, 222, 222, 222, 8, 222,
5, 222, 6, 7, 222, 222, 222, 222, 222, 222,
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
222, 222, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 25, 26,
27, 28, 29, 0, 0, 30, 31, 48, 63, 67,
47, 0, 39, 40, 41, 42, 0, 0, 53, 0,
0, 0, 0, 43, 0, 0, 0, 0, 0, 0,
0, 0, 0, 44, 45, 0, 51, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 159, 0, 135,
0, 134, 0, 158, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 161, 0, 163, 162, 0, 0,
173, 174, 170, 0, 183, 182, 0, 0, 189, 188,
0, 195, 194, 0, 160, 0, 166, 165, 0, 0,
179, 180, 176, 0, 186, 185, 0, 192, 191, 0,
198, 197, 0, 9, 10, 13, 14, 11, 17, 15,
18, 12, 16, 24, 22, 23, 23, 22, 19, 20,
21, 21, 21, 19, 20, 36, 36, 36, 0, 0,
0, 72, 80, 84, 90, 95, 0, 102, 110, 124,
129, 131, 0, 69, 78, 82, 87, 93, 96, 0,
99, 108, 121, 127, 130, 0, 0, 0, 0, 0,
0, 70, 79, 83, 88, 94, 0, 100, 109, 122,
128, 0, 68, 77, 81, 86, 92, 0, 98, 107,
120, 126, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 71, 85, 89, 101, 119, 123,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 137, 136, 133, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 164, 168, 175, 172, 184, 0,
190, 196, 200, 167, 169, 181, 178, 187, 193, 199,
201, 34, 0, 0, 0, 38, 38, 0, 0, 0,
50, 0, 0, 58, 61, 0, 0, 91, 49, 0,
0, 0, 0, 0, 0, 0, 75, 105, 0, 0,
0, 0, 0, 0, 125, 0, 146, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 132, 0, 210, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 171, 0, 177, 34, 0, 35,
0, 0, 37, 0, 0, 0, 0, 73, 74, 0,
0, 0, 0, 103, 104, 0, 0, 76, 106, 0,
0, 0, 97, 0, 0, 0, 0, 0, 0, 0,
0, 0, 148, 0, 0, 152, 0, 0, 0, 0,
0, 151, 0, 0, 0, 0, 0, 0, 0, 0,
0, 212, 0, 0, 216, 0, 0, 0, 0, 0,
215, 34, 33, 0, 117, 118, 113, 114, 115, 116,
111, 112, 0, 60, 0, 0, 0, 52, 0, 0,
0, 0, 0, 0, 0, 157, 0, 0, 0, 0,
0, 0, 154, 0, 0, 0, 0, 0, 0, 0,
0, 221, 0, 0, 0, 0, 0, 0, 218, 0,
0, 0, 0, 0, 0, 140, 0, 0, 156, 139,
0, 0, 0, 0, 150, 0, 0, 0, 155, 204,
0, 0, 220, 203, 0, 0, 0, 0, 214, 0,
0, 0, 219, 0, 0, 0, 0, 0, 0, 0,
0, 0, 147, 0, 143, 0, 0, 0, 0, 0,
0, 211, 0, 207, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 141,
0, 0, 149, 153, 0, 0, 205, 0, 0, 213,
217, 0, 0, 32, 46, 65, 64, 66, 0, 0,
0, 0, 0, 0, 138, 142, 144, 145, 202, 206,
208, 209, 32, 0, 46, 0, 0, 0, 62, 56,
57, 0, 32, 46, 59, 55, 0, 0, 0, 54,
0
} ;
static const YY_CHAR yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 2, 3, 4,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 5, 6, 7, 8, 9, 10, 11, 12, 1,
1, 1, 1, 13, 14, 1, 15, 1, 16, 17,
18, 19, 1, 1, 1, 1, 1, 20, 1, 21,
1, 22, 23, 1, 24, 25, 26, 27, 28, 27,
29, 30, 31, 32, 27, 32, 27, 33, 34, 27,
27, 27, 35, 36, 37, 27, 27, 27, 38, 27,
1, 39, 1, 40, 41, 42, 43, 44, 45, 46,
47, 48, 49, 50, 51, 32, 52, 53, 54, 55,
56, 57, 27, 58, 59, 60, 61, 27, 27, 62,
63, 27, 64, 1, 65, 66, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static const YY_CHAR yy_meta[67] =
{ 0,
1, 1, 1, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 1, 4, 5, 5, 5, 4, 5, 5,
4, 5, 5, 4, 5, 5, 4, 5, 1, 1,
1, 1, 4, 5, 5, 5, 4, 5, 5, 5,
4, 5, 5, 5, 5, 4, 5, 5, 5, 5,
4, 5, 5, 1, 1, 1
} ;
static const short int yy_base[674] =
{ 0,
0, 0, 0, 0, 45, 56, 931, 930, 32, 47,
98, 0, 164, 0, 968, 971, 965, 971, 971, 971,
971, 964, 963, 962, 961, 960, 959, 958, 971, 957,
971, 956, 971, 971, 955, 954, 953, 952, 951, 224,
940, 939, 938, 285, 907, 328, 936, 55, 934, 230,
934, 0, 903, 365, 932, 231, 930, 234, 237, 930,
238, 241, 7, 0, 899, 242, 927, 294, 295, 303,
340, 9, 234, 7, 46, 932, 931, 8, 924, 306,
265, 39, 390, 406, 410, 422, 426, 236, 971, 971,
971, 971, 971, 893, 248, 971, 971, 971, 971, 971,
971, 445, 971, 971, 971, 971, 486, 871, 971, 8,
870, 869, 527, 971, 568, 33, 889, 319, 873, 886,
882, 864, 868, 971, 971, 447, 971, 39, 879, 196,
181, 869, 881, 868, 261, 32, 860, 971, 0, 971,
470, 909, 49, 971, 315, 873, 325, 308, 863, 875,
862, 331, 255, 854, 971, 0, 971, 971, 498, 0,
903, 971, 971, 0, 971, 971, 318, 0, 971, 971,
0, 971, 971, 0, 971, 0, 971, 971, 519, 0,
902, 971, 971, 0, 971, 971, 0, 971, 971, 0,
971, 971, 0, 971, 971, 971, 971, 971, 971, 971,
971, 971, 971, 971, 971, 971, 971, 971, 971, 971,
971, 971, 971, 971, 971, 971, 862, 873, 866, 436,
0, 971, 971, 971, 971, 971, 859, 971, 971, 971,
971, 971, 252, 971, 971, 971, 971, 971, 971, 858,
971, 971, 971, 971, 971, 346, 843, 843, 842, 840,
839, 971, 971, 971, 971, 971, 852, 971, 971, 971,
971, 863, 971, 971, 971, 971, 971, 850, 971, 971,
971, 971, 861, 835, 834, 852, 360, 840, 381, 852,
838, 844, 827, 827, 971, 971, 971, 971, 971, 971,
429, 846, 830, 833, 838, 831, 842, 833, 832, 831,
825, 386, 263, 837, 827, 971, 971, 866, 353, 436,
833, 817, 820, 825, 818, 829, 820, 819, 818, 812,
391, 362, 824, 814, 971, 971, 971, 853, 971, 416,
971, 971, 971, 971, 971, 971, 852, 971, 971, 971,
971, 20, 798, 393, 810, 971, 484, 796, 796, 808,
971, 794, 806, 971, 971, 791, 790, 971, 971, 790,
802, 788, 800, 785, 784, 796, 971, 971, 787, 781,
780, 799, 781, 778, 971, 776, 971, 779, 788, 795,
781, 775, 34, 774, 785, 10, 13, 772, 450, 771,
788, 787, 778, 785, 971, 452, 971, 766, 775, 782,
768, 762, 405, 761, 772, 454, 480, 759, 491, 758,
775, 774, 765, 772, 971, 498, 971, 472, 749, 971,
748, 753, 971, 746, 745, 744, 743, 971, 971, 742,
741, 740, 739, 971, 971, 744, 745, 971, 971, 437,
737, 735, 971, 752, 749, 746, 749, 748, 751, 742,
508, 731, 971, 739, 739, 971, 731, 737, 733, 514,
728, 971, 727, 694, 687, 686, 670, 673, 663, 520,
652, 971, 660, 660, 971, 652, 658, 657, 545, 656,
971, 971, 971, 652, 971, 971, 971, 971, 971, 971,
971, 971, 651, 971, 688, 687, 692, 971, 553, 639,
650, 556, 561, 647, 648, 971, 649, 652, 562, 651,
644, 643, 971, 564, 565, 630, 641, 570, 580, 638,
639, 971, 640, 643, 586, 642, 635, 634, 971, 588,
639, 638, 476, 661, 220, 971, 632, 617, 971, 971,
590, 616, 594, 625, 971, 624, 613, 612, 971, 971,
625, 610, 971, 971, 596, 609, 597, 618, 971, 617,
606, 605, 971, 606, 605, 599, 598, 597, 406, 602,
602, 606, 971, 602, 971, 605, 606, 581, 551, 614,
547, 971, 542, 971, 616, 620, 539, 532, 528, 517,
492, 483, 481, 484, 484, 528, 521, 510, 471, 971,
623, 624, 971, 971, 626, 628, 971, 630, 631, 971,
971, 632, 635, 642, 651, 971, 971, 971, 503, 488,
421, 418, 366, 370, 971, 971, 971, 971, 971, 971,
971, 971, 654, 334, 655, 333, 297, 290, 971, 971,
971, 280, 971, 971, 971, 971, 287, 322, 202, 971,
971, 719, 724, 727, 731, 736, 741, 743, 745, 747,
749, 751, 753, 755, 757, 759, 761, 763, 765, 767,
772, 777, 782
} ;
static const short int yy_def[674] =
{ 0,
652, 652, 652, 3, 653, 653, 652, 652, 652, 652,
651, 11, 651, 13, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 46, 651, 651, 651,
651, 46, 46, 651, 54, 651, 651, 651, 651, 651,
651, 651, 651, 54, 54, 651, 651, 651, 651, 651,
651, 651, 654, 651, 651, 651, 651, 651, 651, 651,
654, 651, 651, 655, 656, 651, 651, 657, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 658, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 659, 651, 651, 651, 660,
651, 651, 651, 661, 651, 651, 651, 662, 651, 651,
663, 651, 651, 664, 651, 665, 651, 651, 651, 666,
651, 651, 651, 667, 651, 651, 668, 651, 651, 669,
651, 651, 670, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 671, 651, 672,
673, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 672, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
0, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651
} ;
static const short int yy_nxt[1038] =
{ 0,
651, 651, 651, 651, 651, 651, 17, 18, 19, 20,
21, 22, 23, 174, 200, 193, 453, 651, 651, 454,
24, 25, 418, 26, 418, 27, 174, 28, 193, 453,
26, 248, 454, 26, 198, 249, 26, 41, 29, 30,
31, 30, 26, 42, 27, 203, 28, 200, 16, 200,
32, 36, 41, 198, 43, 26, 37, 37, 42, 16,
26, 139, 36, 33, 34, 38, 39, 37, 37, 43,
44, 199, 309, 45, 139, 274, 38, 39, 203, 275,
203, 304, 449, 419, 37, 44, 37, 305, 45, 291,
199, 309, 292, 450, 140, 37, 140, 37, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 47,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 48, 16, 49, 16, 50, 16, 16, 48, 51,
16, 48, 16, 51, 48, 16, 46, 52, 46, 53,
48, 16, 49, 16, 50, 16, 16, 16, 48, 16,
51, 16, 16, 48, 16, 16, 16, 51, 48, 16,
16, 46, 46, 46, 54, 54, 54, 54, 54, 54,
54, 54, 54, 54, 54, 55, 54, 54, 54, 54,
54, 54, 54, 54, 54, 54, 54, 56, 16, 57,
16, 58, 16, 16, 59, 60, 16, 61, 16, 60,
62, 63, 54, 64, 54, 65, 66, 16, 67, 16,
68, 16, 16, 16, 69, 16, 60, 16, 16, 70,
16, 16, 16, 60, 71, 16, 72, 54, 54, 54,
88, 89, 90, 91, 92, 88, 139, 156, 294, 297,
160, 142, 298, 164, 168, 161, 295, 171, 176, 139,
156, 296, 220, 160, 194, 195, 164, 168, 569, 570,
171, 176, 220, 88, 93, 88, 650, 94, 95, 140,
157, 140, 158, 162, 217, 163, 165, 169, 166, 170,
172, 177, 173, 178, 197, 651, 651, 96, 97, 101,
350, 102, 103, 104, 105, 106, 107, 108, 109, 218,
180, 184, 220, 302, 323, 181, 391, 220, 110, 187,
324, 221, 200, 180, 184, 197, 351, 202, 111, 112,
392, 303, 187, 277, 113, 114, 115, 116, 117, 118,
649, 648, 119, 182, 185, 183, 186, 647, 120, 121,
122, 330, 188, 123, 189, 200, 190, 200, 124, 125,
126, 128, 129, 130, 646, 131, 132, 133, 134, 190,
330, 645, 135, 136, 278, 310, 316, 313, 311, 317,
128, 129, 130, 321, 137, 314, 132, 133, 134, 191,
315, 192, 279, 396, 353, 367, 135, 136, 145, 146,
147, 322, 148, 149, 150, 151, 204, 644, 643, 152,
153, 205, 205, 396, 368, 411, 370, 145, 146, 147,
354, 154, 207, 149, 150, 151, 212, 208, 208, 412,
642, 213, 213, 152, 153, 371, 209, 210, 214, 205,
641, 205, 215, 205, 205, 377, 389, 205, 205, 390,
347, 409, 397, 421, 410, 208, 416, 208, 377, 213,
347, 213, 495, 468, 496, 397, 456, 420, 462, 594,
472, 205, 595, 205, 469, 205, 416, 205, 222, 456,
285, 462, 223, 472, 418, 224, 418, 378, 225, 286,
287, 226, 640, 227, 398, 639, 473, 228, 347, 288,
347, 229, 566, 307, 567, 347, 638, 475, 347, 473,
230, 289, 290, 307, 481, 231, 307, 232, 233, 234,
475, 637, 307, 235, 506, 624, 236, 481, 623, 237,
513, 326, 238, 239, 240, 307, 522, 506, 241, 622,
307, 326, 242, 513, 326, 419, 621, 620, 347, 522,
326, 243, 335, 347, 619, 618, 244, 617, 245, 246,
252, 529, 335, 326, 253, 335, 616, 254, 326, 536,
255, 335, 539, 256, 529, 257, 615, 540, 545, 258,
549, 550, 536, 259, 335, 539, 553, 614, 613, 335,
540, 545, 260, 549, 550, 612, 554, 261, 609, 553,
262, 263, 559, 608, 563, 264, 573, 606, 265, 554,
575, 266, 582, 584, 267, 559, 268, 563, 600, 573,
269, 603, 604, 575, 270, 582, 584, 596, 597, 598,
607, 600, 610, 271, 603, 604, 611, 605, 272, 625,
626, 273, 627, 607, 628, 610, 629, 630, 631, 611,
599, 632, 625, 626, 633, 627, 633, 628, 602, 629,
630, 631, 601, 635, 632, 635, 633, 635, 633, 635,
593, 592, 591, 590, 589, 588, 587, 586, 585, 583,
581, 580, 579, 578, 577, 576, 574, 572, 571, 568,
565, 564, 562, 561, 560, 558, 557, 556, 555, 552,
551, 548, 547, 546, 544, 543, 542, 541, 538, 537,
535, 534, 533, 532, 531, 634, 530, 528, 527, 526,
525, 524, 523, 521, 636, 520, 519, 634, 636, 16,
16, 16, 16, 16, 35, 35, 35, 35, 35, 196,
196, 206, 518, 206, 206, 206, 211, 517, 211, 211,
211, 216, 516, 216, 216, 216, 306, 306, 325, 325,
327, 327, 329, 329, 331, 331, 332, 332, 333, 333,
334, 334, 336, 336, 338, 338, 339, 339, 340, 340,
341, 341, 343, 515, 343, 343, 343, 346, 514, 346,
346, 346, 348, 512, 348, 348, 348, 511, 510, 509,
508, 507, 505, 504, 503, 502, 501, 500, 499, 498,
497, 494, 493, 492, 491, 490, 489, 488, 487, 486,
485, 484, 483, 482, 480, 479, 478, 477, 476, 474,
471, 470, 467, 466, 465, 464, 463, 461, 460, 459,
458, 457, 455, 452, 451, 448, 447, 446, 445, 444,
443, 442, 441, 440, 439, 438, 437, 436, 435, 434,
433, 432, 431, 430, 429, 428, 427, 426, 425, 424,
423, 422, 420, 417, 415, 414, 413, 408, 407, 406,
405, 404, 403, 402, 401, 400, 399, 395, 394, 393,
388, 387, 386, 385, 384, 383, 382, 381, 380, 379,
376, 375, 374, 373, 372, 369, 366, 365, 364, 363,
362, 361, 360, 359, 358, 357, 356, 355, 352, 349,
345, 344, 342, 337, 328, 317, 320, 319, 318, 312,
308, 298, 301, 300, 299, 293, 284, 283, 282, 281,
280, 276, 251, 250, 247, 219, 201, 195, 194, 179,
175, 167, 159, 155, 144, 143, 141, 138, 127, 100,
99, 98, 87, 86, 85, 84, 83, 82, 81, 80,
79, 78, 77, 76, 75, 74, 73, 651, 40, 40,
15, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651
} ;
static const short int yy_chk[1038] =
{ 0,
0, 0, 0, 0, 0, 0, 3, 3, 3, 3,
3, 3, 3, 63, 78, 72, 386, 0, 0, 387,
3, 3, 342, 3, 342, 3, 63, 3, 72, 386,
3, 110, 387, 3, 74, 110, 3, 9, 3, 3,
3, 3, 3, 9, 3, 82, 3, 78, 5, 78,
3, 5, 10, 74, 9, 3, 5, 5, 10, 6,
3, 48, 6, 3, 3, 5, 5, 6, 6, 10,
9, 75, 143, 9, 48, 116, 6, 6, 82, 116,
82, 136, 383, 342, 5, 10, 5, 136, 10, 128,
75, 143, 128, 383, 48, 6, 48, 6, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
40, 40, 40, 40, 40, 40, 50, 56, 130, 131,
58, 50, 131, 59, 61, 58, 130, 62, 66, 50,
56, 130, 95, 58, 73, 73, 59, 61, 535, 535,
62, 66, 95, 40, 40, 40, 649, 40, 40, 50,
56, 50, 56, 58, 88, 58, 59, 61, 59, 61,
62, 66, 62, 66, 73, 81, 81, 40, 40, 44,
233, 44, 44, 44, 44, 44, 44, 44, 44, 88,
68, 69, 95, 135, 153, 68, 303, 95, 44, 70,
153, 95, 80, 68, 69, 81, 233, 80, 44, 44,
303, 135, 70, 118, 44, 44, 44, 44, 44, 44,
648, 647, 44, 68, 69, 68, 69, 642, 44, 44,
44, 167, 70, 44, 70, 80, 71, 80, 44, 44,
44, 46, 46, 46, 638, 46, 46, 46, 46, 71,
167, 637, 46, 46, 118, 145, 148, 147, 145, 148,
46, 46, 46, 152, 46, 147, 46, 46, 46, 71,
147, 71, 118, 309, 246, 277, 46, 46, 54, 54,
54, 152, 54, 54, 54, 54, 83, 636, 634, 54,
54, 83, 83, 309, 277, 322, 279, 54, 54, 54,
246, 54, 84, 54, 54, 54, 85, 84, 84, 322,
624, 85, 85, 54, 54, 279, 84, 84, 86, 83,
623, 83, 87, 86, 86, 291, 302, 87, 87, 302,
220, 321, 310, 344, 321, 84, 330, 84, 291, 85,
220, 85, 440, 403, 440, 310, 389, 344, 396, 569,
406, 86, 569, 86, 403, 87, 330, 87, 102, 389,
126, 396, 102, 406, 418, 102, 418, 291, 102, 126,
126, 102, 622, 102, 310, 621, 407, 102, 347, 126,
220, 102, 533, 141, 533, 220, 620, 409, 347, 407,
102, 126, 126, 141, 416, 102, 141, 102, 102, 107,
409, 619, 141, 107, 451, 599, 107, 416, 598, 107,
460, 159, 107, 107, 107, 141, 470, 451, 107, 597,
141, 159, 107, 460, 159, 418, 596, 595, 347, 470,
159, 107, 179, 347, 594, 593, 107, 592, 107, 107,
113, 479, 179, 159, 113, 179, 591, 113, 159, 499,
113, 179, 502, 113, 479, 113, 590, 503, 509, 113,
514, 515, 499, 113, 179, 502, 518, 589, 588, 179,
503, 509, 113, 514, 515, 587, 519, 113, 583, 518,
113, 115, 525, 581, 530, 115, 541, 579, 115, 519,
543, 115, 555, 557, 115, 525, 115, 530, 571, 541,
115, 576, 577, 543, 115, 555, 557, 570, 570, 570,
580, 571, 585, 115, 576, 577, 586, 578, 115, 601,
602, 115, 605, 580, 606, 585, 608, 609, 612, 586,
570, 613, 601, 602, 614, 605, 614, 606, 574, 608,
609, 612, 572, 615, 613, 615, 633, 635, 633, 635,
568, 567, 566, 565, 564, 562, 561, 560, 558, 556,
552, 551, 548, 547, 546, 544, 542, 538, 537, 534,
532, 531, 528, 527, 526, 524, 523, 521, 520, 517,
516, 512, 511, 510, 508, 507, 505, 504, 501, 500,
497, 496, 495, 493, 484, 614, 480, 478, 477, 476,
474, 473, 471, 469, 615, 468, 467, 633, 635, 652,
652, 652, 652, 652, 653, 653, 653, 653, 653, 654,
654, 655, 466, 655, 655, 655, 656, 465, 656, 656,
656, 657, 464, 657, 657, 657, 658, 658, 659, 659,
660, 660, 661, 661, 662, 662, 663, 663, 664, 664,
665, 665, 666, 666, 667, 667, 668, 668, 669, 669,
670, 670, 671, 463, 671, 671, 671, 672, 461, 672,
672, 672, 673, 459, 673, 673, 673, 458, 457, 455,
454, 452, 450, 449, 448, 447, 446, 445, 444, 442,
441, 437, 436, 433, 432, 431, 430, 427, 426, 425,
424, 422, 421, 419, 414, 413, 412, 411, 410, 408,
405, 404, 402, 401, 400, 399, 398, 394, 393, 392,
391, 390, 388, 385, 384, 382, 381, 380, 379, 378,
376, 374, 373, 372, 371, 370, 369, 366, 365, 364,
363, 362, 361, 360, 357, 356, 353, 352, 350, 349,
348, 345, 343, 337, 328, 324, 323, 320, 319, 318,
317, 316, 315, 314, 313, 312, 311, 308, 305, 304,
301, 300, 299, 298, 297, 296, 295, 294, 293, 292,
284, 283, 282, 281, 280, 278, 276, 275, 274, 273,
268, 262, 257, 251, 250, 249, 248, 247, 240, 227,
219, 218, 217, 181, 161, 154, 151, 150, 149, 146,
142, 137, 134, 133, 132, 129, 123, 122, 121, 120,
119, 117, 112, 111, 108, 94, 79, 77, 76, 67,
65, 60, 57, 55, 53, 51, 49, 47, 45, 43,
42, 41, 39, 38, 37, 36, 35, 32, 30, 28,
27, 26, 25, 24, 23, 22, 17, 15, 8, 7,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651, 651, 651, 651,
651, 651, 651, 651, 651, 651, 651
} ;
static yy_state_type yy_last_accepting_state;
static YY_CHAR *yy_last_accepting_cpos;
/* the intent behind this definition is that it'll catch
* any uses of REJECT which flex missed
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
/* these variables are all declared out here so that section 3 code can
* manipulate them
*/
/* points to current character in buffer */
static YY_CHAR *yy_c_buf_p = (YY_CHAR *) 0;
static int yy_init = 1; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
static void yyunput YY_PROTO(( YY_CHAR c, YY_CHAR *buf_ptr ));
void yyrestart YY_PROTO(( FILE *input_file ));
void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
#define yy_new_buffer yy_create_buffer
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
YY_DECL
{
register yy_state_type yy_current_state;
register YY_CHAR *yy_cp, *yy_bp;
register int yy_act;
if ( yy_init )
{
YY_USER_INIT;
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( yy_current_buffer )
yy_init_buffer( yy_current_buffer, yyin );
else
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
yy_init = 0;
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = yy_c_buf_p;
/* support of yytext */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of the
* current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[*yy_cp];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = yy_def[yy_current_state];
if ( yy_current_state >= 652 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
++yy_cp;
}
while ( yy_current_state != 651 );
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
yy_find_action:
yy_act = yy_accept[yy_current_state];
YY_DO_BEFORE_ACTION;
YY_USER_ACTION;
do_action: /* this label is used only to access EOF actions */
switch ( yy_act )
{
case 0: /* must backtrack */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yy_hold_char;
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
case 1:
# line 88 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('#'); }
YY_BREAK
case 2:
# line 89 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('$'); }
YY_BREAK
case 3:
# line 90 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('%'); }
YY_BREAK
case 4:
# line 91 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('&'); }
YY_BREAK
case 5:
# line 92 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('_'); }
YY_BREAK
case 6:
# line 93 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('{'); }
YY_BREAK
case 7:
# line 94 "<stdin>"
{ if (!diacritics_only) output ('\\'); output ('}'); }
YY_BREAK
case 8:
# line 95 "<stdin>"
{ const char *cursor;
if (diacritics_only)
output ('\\');
else
for (cursor = "\\backslash{}"; *cursor; cursor++)
output (*cursor);
}
YY_BREAK
case 9:
# line 102 "<stdin>"
{ output ('`'); output ('`'); }
YY_BREAK
case 10:
# line 103 "<stdin>"
{ output ('\''); output ('\''); }
YY_BREAK
case 11:
# line 104 "<stdin>"
{ output ('\\'); output ('\''); output (yytext[2]); }
YY_BREAK
case 12:
# line 105 "<stdin>"
{ output ('\\'); output ('\''); output (yytext[0]); }
YY_BREAK
case 13:
# line 106 "<stdin>"
{ output ('\\'); output (yytext[0]);
output (yytext[2]); }
YY_BREAK
case 14:
# line 108 "<stdin>"
{ output ('\\'); output (yytext[0]); output ('\\');
output ('i'); output (' '); }
YY_BREAK
case 15:
# line 110 "<stdin>"
{ output ('\\'); output (yytext[2]);
output (yytext[0]); }
YY_BREAK
case 16:
# line 112 "<stdin>"
{ output ('\\'); output (yytext[2]); output ('\\');
output ('i'); output (' '); }
YY_BREAK
case 17:
# line 114 "<stdin>"
{ output ('\\'); output ('c'); output ('{');
output (yytext[2]); output ('}'); }
YY_BREAK
case 18:
# line 116 "<stdin>"
{ output ('\\'); output ('c'); output ('{');
output (yytext[0]); output ('}'); }
YY_BREAK
case 19:
# line 118 "<stdin>"
{ output ('`'); output ('`'); }
YY_BREAK
case 20:
# line 119 "<stdin>"
{ output ('\''); output ('\''); }
YY_BREAK
case 21:
# line 120 "<stdin>"
{ output (yytext[2]); output (yytext[0]); }
YY_BREAK
case 22:
# line 121 "<stdin>"
{ output (yytext[0]); output (yytext[2]); }
YY_BREAK
case 23:
# line 122 "<stdin>"
{ output (yytext[2]); output (diaeresis_char); }
YY_BREAK
case 24:
# line 123 "<stdin>"
{ output (yytext[0]); output (diaeresis_char); }
YY_BREAK
case 25:
# line 124 "<stdin>"
{ if (diacritics_only) ECHO; else output ('#'); }
YY_BREAK
case 26:
# line 125 "<stdin>"
{ if (diacritics_only) ECHO; else output ('$'); }
YY_BREAK
case 27:
# line 126 "<stdin>"
{ if (diacritics_only) ECHO; else output ('%'); }
YY_BREAK
case 28:
# line 127 "<stdin>"
{ if (diacritics_only) ECHO; else output ('&'); }
YY_BREAK
case 29:
# line 128 "<stdin>"
{ if (diacritics_only) ECHO; else output ('_'); }
YY_BREAK
case 30:
# line 129 "<stdin>"
{ if (diacritics_only) ECHO; else output ('{'); }
YY_BREAK
case 31:
# line 130 "<stdin>"
{ if (diacritics_only) ECHO; else output ('}'); }
YY_BREAK
case 32:
# line 131 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\\'); }
YY_BREAK
case 33:
# line 132 "<stdin>"
{ output ('i'); output ('\b'); output (yytext[1]); }
YY_BREAK
case 34:
# line 133 "<stdin>"
{ output ('i'); output ('\b'); output (yytext[1]); }
YY_BREAK
case 35:
# line 134 "<stdin>"
{ output (yytext[3]); output ('\b');
output (yytext[1]); }
YY_BREAK
case 36:
# line 136 "<stdin>"
{ output (yytext[2]); output ('\b');
output (yytext[1]); }
YY_BREAK
case 37:
# line 138 "<stdin>"
{ output (','); output ('\b'); output (yytext[3]); }
YY_BREAK
case 38:
# line 139 "<stdin>"
{ output (','); output ('\b');
output (yytext[yyleng-1]); }
YY_BREAK
case 39:
# line 141 "<stdin>"
{ if (diacritics_only) ECHO; else output ('#'); }
YY_BREAK
case 40:
# line 142 "<stdin>"
{ if (diacritics_only) ECHO; else output ('$'); }
YY_BREAK
case 41:
# line 143 "<stdin>"
{ if (diacritics_only) ECHO; else output ('%'); }
YY_BREAK
case 42:
# line 144 "<stdin>"
{ if (diacritics_only) ECHO; else output ('&'); }
YY_BREAK
case 43:
# line 145 "<stdin>"
{ if (diacritics_only) ECHO; else output ('_'); }
YY_BREAK
case 44:
# line 146 "<stdin>"
{ if (diacritics_only) ECHO; else output ('{'); }
YY_BREAK
case 45:
# line 147 "<stdin>"
{ if (diacritics_only) ECHO; else output ('}'); }
YY_BREAK
case 46:
# line 148 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\\'); }
YY_BREAK
case 47:
# line 149 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\240'); }
YY_BREAK
case 48:
# line 150 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\241'); }
YY_BREAK
case 49:
# line 151 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\247'); }
YY_BREAK
case 50:
# line 152 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\250'); }
YY_BREAK
case 51:
# line 153 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\253'); }
YY_BREAK
case 52:
# line 154 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\254'); }
YY_BREAK
case 53:
# line 155 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\255'); }
YY_BREAK
case 54:
# line 156 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\260'); }
YY_BREAK
case 55:
# line 157 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\261'); }
YY_BREAK
case 56:
# line 158 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\262'); }
YY_BREAK
case 57:
# line 159 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\263'); }
YY_BREAK
case 58:
# line 160 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\264'); }
YY_BREAK
case 59:
# line 161 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\265'); }
YY_BREAK
case 60:
# line 162 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\267'); }
YY_BREAK
case 61:
# line 163 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\270'); }
YY_BREAK
case 62:
# line 164 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\271'); }
YY_BREAK
case 63:
# line 165 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\273'); }
YY_BREAK
case 64:
# line 166 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\274'); }
YY_BREAK
case 65:
# line 167 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\275'); }
YY_BREAK
case 66:
# line 168 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\276'); }
YY_BREAK
case 67:
# line 169 "<stdin>"
{ if (diacritics_only) ECHO; else output ('\277'); }
YY_BREAK
case 68:
# line 170 "<stdin>"
{ output ('\300'); }
YY_BREAK
case 69:
# line 171 "<stdin>"
{ output ('\301'); }
YY_BREAK
case 70:
# line 172 "<stdin>"
{ output ('\302'); }
YY_BREAK
case 71:
# line 173 "<stdin>"
{ output ('\303'); }
YY_BREAK
case 72:
# line 174 "<stdin>"
{ output ('\304'); }
YY_BREAK
case 73:
# line 175 "<stdin>"
{ output ('\305'); }
YY_BREAK
case 74:
# line 176 "<stdin>"
{ output ('\306'); }
YY_BREAK
case 75:
# line 177 "<stdin>"
{ output ('\307'); }
YY_BREAK
case 76:
# line 178 "<stdin>"
{ output ('\307'); }
YY_BREAK
case 77:
# line 179 "<stdin>"
{ output ('\310'); }
YY_BREAK
case 78:
# line 180 "<stdin>"
{ output ('\311'); }
YY_BREAK
case 79:
# line 181 "<stdin>"
{ output ('\312'); }
YY_BREAK
case 80:
# line 182 "<stdin>"
{ output ('\313'); }
YY_BREAK
case 81:
# line 183 "<stdin>"
{ output ('\314'); }
YY_BREAK
case 82:
# line 184 "<stdin>"
{ output ('\315'); }
YY_BREAK
case 83:
# line 185 "<stdin>"
{ output ('\316'); }
YY_BREAK
case 84:
# line 186 "<stdin>"
{ output ('\317'); }
YY_BREAK
case 85:
# line 187 "<stdin>"
{ output ('\321'); }
YY_BREAK
case 86:
# line 188 "<stdin>"
{ output ('\322'); }
YY_BREAK
case 87:
# line 189 "<stdin>"
{ output ('\323'); }
YY_BREAK
case 88:
# line 190 "<stdin>"
{ output ('\324'); }
YY_BREAK
case 89:
# line 191 "<stdin>"
{ output ('\325'); }
YY_BREAK
case 90:
# line 192 "<stdin>"
{ output ('\326'); }
YY_BREAK
case 91:
# line 193 "<stdin>"
{ output ('\330'); }
YY_BREAK
case 92:
# line 194 "<stdin>"
{ output ('\331'); }
YY_BREAK
case 93:
# line 195 "<stdin>"
{ output ('\332'); }
YY_BREAK
case 94:
# line 196 "<stdin>"
{ output ('\333'); }
YY_BREAK
case 95:
# line 197 "<stdin>"
{ output ('\334'); }
YY_BREAK
case 96:
# line 198 "<stdin>"
{ output ('\335'); }
YY_BREAK
case 97:
# line 199 "<stdin>"
{ output ('\337'); }
YY_BREAK
case 98:
# line 200 "<stdin>"
{ output ('\340'); }
YY_BREAK
case 99:
# line 201 "<stdin>"
{ output ('\341'); }
YY_BREAK
case 100:
# line 202 "<stdin>"
{ output ('\342'); }
YY_BREAK
case 101:
# line 203 "<stdin>"
{ output ('\343'); }
YY_BREAK
case 102:
# line 204 "<stdin>"
{ output ('\344'); }
YY_BREAK
case 103:
# line 205 "<stdin>"
{ output ('\345'); }
YY_BREAK
case 104:
# line 206 "<stdin>"
{ output ('\346'); }
YY_BREAK
case 105:
# line 207 "<stdin>"
{ output ('\347'); }
YY_BREAK
case 106:
# line 208 "<stdin>"
{ output ('\347'); }
YY_BREAK
case 107:
# line 209 "<stdin>"
{ output ('\350'); }
YY_BREAK
case 108:
# line 210 "<stdin>"
{ output ('\351'); }
YY_BREAK
case 109:
# line 211 "<stdin>"
{ output ('\352'); }
YY_BREAK
case 110:
# line 212 "<stdin>"
{ output ('\353'); }
YY_BREAK
case 111:
# line 213 "<stdin>"
{ output ('\354'); }
YY_BREAK
case 112:
# line 214 "<stdin>"
{ output ('\354'); }
YY_BREAK
case 113:
# line 215 "<stdin>"
{ output ('\355'); }
YY_BREAK
case 114:
# line 216 "<stdin>"
{ output ('\355'); }
YY_BREAK
case 115:
# line 217 "<stdin>"
{ output ('\356'); }
YY_BREAK
case 116:
# line 218 "<stdin>"
{ output ('\356'); }
YY_BREAK
case 117:
# line 219 "<stdin>"
{ output ('\357'); }
YY_BREAK
case 118:
# line 220 "<stdin>"
{ output ('\357'); }
YY_BREAK
case 119:
# line 221 "<stdin>"
{ output ('\361'); }
YY_BREAK
case 120:
# line 222 "<stdin>"
{ output ('\362'); }
YY_BREAK
case 121:
# line 223 "<stdin>"
{ output ('\363'); }
YY_BREAK
case 122:
# line 224 "<stdin>"
{ output ('\364'); }
YY_BREAK
case 123:
# line 225 "<stdin>"
{ output ('\365'); }
YY_BREAK
case 124:
# line 226 "<stdin>"
{ output ('\366'); }
YY_BREAK
case 125:
# line 227 "<stdin>"
{ output ('\370'); }
YY_BREAK
case 126:
# line 228 "<stdin>"
{ output ('\371'); }
YY_BREAK
case 127:
# line 229 "<stdin>"
{ output ('\372'); }
YY_BREAK
case 128:
# line 230 "<stdin>"
{ output ('\373'); }
YY_BREAK
case 129:
# line 231 "<stdin>"
{ output ('\374'); }
YY_BREAK
case 130:
# line 232 "<stdin>"
{ output ('\375'); }
YY_BREAK
case 131:
# line 233 "<stdin>"
{ output ('\377'); }
YY_BREAK
case 132:
# line 234 "<stdin>"
{ output ('\''); output ('\b'); output (yytext[0]);
output ('"'); output ('\b'); output ('>'); }
YY_BREAK
case 133:
# line 236 "<stdin>"
{ output (yytext[0]);
output ('"'); output ('\b'); output ('>'); }
YY_BREAK
case 134:
# line 238 "<stdin>"
{ output ('\''); output ('\b'); output (yytext[0]); }
YY_BREAK
case 135:
# line 239 "<stdin>"
{ output (yytext[1]); output ('\b');
output (yytext[0]); }
YY_BREAK
case 136:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 241 "<stdin>"
{ output (','); output ('\b'); output (yytext[0]); }
YY_BREAK
case 137:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 242 "<stdin>"
{ output ('"'); output ('\b'); output (yytext[0]); }
YY_BREAK
case 138:
# line 243 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 139:
# line 244 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 140:
# line 245 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 141:
# line 246 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 142:
# line 247 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 143:
# line 248 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 144:
# line 249 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 145:
# line 250 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 146:
# line 251 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 147:
# line 252 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 148:
# line 253 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 149:
# line 254 "<stdin>"
{ if (yytext[4] == diaeresis_char)
texte_ascii_diaeresis ();
else
ECHO;
}
YY_BREAK
case 150:
# line 259 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 151:
# line 260 "<stdin>"
{ ECHO; }
YY_BREAK
case 152:
# line 261 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 153:
# line 262 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 154:
# line 263 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 155:
# line 264 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 156:
# line 265 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 157:
# line 266 "<stdin>"
{ texte_ascii_diaeresis (); }
YY_BREAK
case 158:
# line 267 "<stdin>"
{ output ('"'); output ('\b'); output ('<'); }
YY_BREAK
case 159:
# line 268 "<stdin>"
{ output ('"'); output ('\b'); output ('>'); }
YY_BREAK
case 160:
# line 269 "<stdin>"
{ output ('\253'); }
YY_BREAK
case 161:
# line 270 "<stdin>"
{ output ('\273'); }
YY_BREAK
case 162:
# line 271 "<stdin>"
{ output ('\300'); }
YY_BREAK
case 163:
# line 272 "<stdin>"
{ output ('\302'); }
YY_BREAK
case 164:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 273 "<stdin>"
{ output ('\304'); }
YY_BREAK
case 165:
# line 274 "<stdin>"
{ output ('\340'); }
YY_BREAK
case 166:
# line 275 "<stdin>"
{ output ('\342'); }
YY_BREAK
case 167:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 276 "<stdin>"
{ output ('\344'); }
YY_BREAK
case 168:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 277 "<stdin>"
{ output ('\307'); }
YY_BREAK
case 169:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 278 "<stdin>"
{ output ('\347'); }
YY_BREAK
case 170:
# line 279 "<stdin>"
{ output ('\310'); }
YY_BREAK
case 171:
# line 280 "<stdin>"
{ output ('\311'); output ('\273'); }
YY_BREAK
case 172:
# line 281 "<stdin>"
{ output ('E'); output ('\273'); }
YY_BREAK
case 173:
# line 282 "<stdin>"
{ output ('\311'); }
YY_BREAK
case 174:
# line 283 "<stdin>"
{ output ('\312'); }
YY_BREAK
case 175:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 284 "<stdin>"
{ output ('\313'); }
YY_BREAK
case 176:
# line 285 "<stdin>"
{ output ('\350'); }
YY_BREAK
case 177:
# line 286 "<stdin>"
{ output ('\351'); output ('\273'); }
YY_BREAK
case 178:
# line 287 "<stdin>"
{ output ('e'); output ('\273'); }
YY_BREAK
case 179:
# line 288 "<stdin>"
{ output ('\351'); }
YY_BREAK
case 180:
# line 289 "<stdin>"
{ output ('\352'); }
YY_BREAK
case 181:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 290 "<stdin>"
{ output ('\353'); }
YY_BREAK
case 182:
# line 291 "<stdin>"
{ output ('\314'); }
YY_BREAK
case 183:
# line 292 "<stdin>"
{ output ('\316'); }
YY_BREAK
case 184:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 293 "<stdin>"
{ output ('\317'); }
YY_BREAK
case 185:
# line 294 "<stdin>"
{ output ('\354'); }
YY_BREAK
case 186:
# line 295 "<stdin>"
{ output ('\356'); }
YY_BREAK
case 187:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 296 "<stdin>"
{ output ('\357'); }
YY_BREAK
case 188:
# line 297 "<stdin>"
{ output ('\322'); }
YY_BREAK
case 189:
# line 298 "<stdin>"
{ output ('\324'); }
YY_BREAK
case 190:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 299 "<stdin>"
{ output ('\326'); }
YY_BREAK
case 191:
# line 300 "<stdin>"
{ output ('\362'); }
YY_BREAK
case 192:
# line 301 "<stdin>"
{ output ('\364'); }
YY_BREAK
case 193:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 302 "<stdin>"
{ output ('\366'); }
YY_BREAK
case 194:
# line 303 "<stdin>"
{ output ('\331'); }
YY_BREAK
case 195:
# line 304 "<stdin>"
{ output ('\333'); }
YY_BREAK
case 196:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 305 "<stdin>"
{ output ('\334'); }
YY_BREAK
case 197:
# line 306 "<stdin>"
{ output ('\371'); }
YY_BREAK
case 198:
# line 307 "<stdin>"
{ output ('\373'); }
YY_BREAK
case 199:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 308 "<stdin>"
{ output ('\374'); }
YY_BREAK
case 200:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 309 "<stdin>"
{ output ('Y'); }
YY_BREAK
case 201:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 310 "<stdin>"
{ output ('\337'); }
YY_BREAK
case 202:
# line 311 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 203:
# line 312 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 204:
# line 313 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 205:
# line 314 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 206:
# line 315 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 207:
# line 316 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 208:
# line 317 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 209:
# line 318 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 210:
# line 319 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 211:
# line 320 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 212:
# line 321 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 213:
# line 322 "<stdin>"
{ if (yytext[4] == diaeresis_char)
texte_latin1_diaeresis ();
else
ECHO;
}
YY_BREAK
case 214:
# line 327 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 215:
# line 328 "<stdin>"
{ ECHO; }
YY_BREAK
case 216:
# line 329 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 217:
# line 330 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 218:
# line 331 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 219:
# line 332 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 220:
# line 333 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 221:
# line 334 "<stdin>"
{ texte_latin1_diaeresis (); }
YY_BREAK
case 222:
# line 335 "<stdin>"
ECHO;
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(X_ascii_latex):
case YY_STATE_EOF(X_ascii_texte):
case YY_STATE_EOF(X_latex_ascii):
case YY_STATE_EOF(X_latex_latin1):
case YY_STATE_EOF(X_texte_ascii):
case YY_STATE_EOF(X_texte_latin1):
yyterminate();
case YY_END_OF_BUFFER:
{
/* amount of text matched not including the EOB char */
int yy_amount_of_matched_text = yy_cp - yytext - 1;
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yy_hold_char;
/* note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the end-
* of-buffer state). Contrast this with the test in yyinput().
*/
if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* this was really a NUL */
{
yy_state_type yy_next_state;
yy_c_buf_p = yytext + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
/* okay, we're now positioned to make the
* NUL transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we
* don't want to build jamming into it because
* then it will run more slowly)
*/
yy_next_state = yy_try_NUL_trans( yy_current_state );
yy_bp = yytext + YY_MORE_ADJ;
if ( yy_next_state )
{
/* consume the NUL */
yy_cp = ++yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
yy_did_buffer_switch_on_eof = 0;
if ( yywrap() )
{
/* note: because we've taken care in
* yy_get_next_buffer() to have set up yytext,
* we can now set up yy_c_buf_p so that if some
* total hoser (like flex itself) wants
* to call the scanner after we return the
* YY_NULL, it'll still work - another YY_NULL
* will get returned.
*/
yy_c_buf_p = yytext + YY_MORE_ADJ;
yy_act = YY_STATE_EOF((yy_start - 1) / 2);
goto do_action;
}
else
{
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
}
break;
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
&yy_current_buffer->yy_ch_buf[yy_n_chars];
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
#ifdef FLEX_DEBUG
printf( "action # %d\n", yy_act );
#endif
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
}
}
}
/* yy_get_next_buffer - try to read in a new buffer
*
* synopsis
* int yy_get_next_buffer();
*
* returns a code representing an action
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer()
{
register YY_CHAR *dest = yy_current_buffer->yy_ch_buf;
register YY_CHAR *source = yytext - 1; /* copy prev. char, too */
register int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
/* try to read more data */
/* first move last chars to start of buffer */
number_to_move = yy_c_buf_p - yytext;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( yy_current_buffer->yy_eof_status != EOF_NOT_SEEN )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
yy_n_chars = 0;
else
{
int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1;
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
else if ( num_to_read <= 0 )
YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" );
/* read in more data */
YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
yy_n_chars, num_to_read );
}
if ( yy_n_chars == 0 )
{
if ( number_to_move - YY_MORE_ADJ == 1 )
{
ret_val = EOB_ACT_END_OF_FILE;
yy_current_buffer->yy_eof_status = EOF_DONE;
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
yy_current_buffer->yy_eof_status = EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
yy_n_chars += number_to_move;
yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
/* yytext begins at the second character in yy_ch_buf; the first
* character is the one which preceded it before reading in the latest
* buffer; it needs to be kept around in case it's a newline, so
* yy_get_previous_state() will have with '^' rules active
*/
yytext = &yy_current_buffer->yy_ch_buf[1];
return ( ret_val );
}
/* yy_get_previous_state - get the state just before the EOB char was reached
*
* synopsis
* yy_state_type yy_get_previous_state();
*/
static yy_state_type yy_get_previous_state()
{
register yy_state_type yy_current_state;
register YY_CHAR *yy_cp;
yy_current_state = yy_start;
for ( yy_cp = yytext + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[*yy_cp] : 1);
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = yy_def[yy_current_state];
if ( yy_current_state >= 652 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
}
return ( yy_current_state );
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( register yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
register yy_state_type yy_current_state;
#endif
{
register int yy_is_jam;
register YY_CHAR *yy_cp = yy_c_buf_p;
register YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = yy_def[yy_current_state];
if ( yy_current_state >= 652 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
yy_is_jam = (yy_current_state == 651);
return ( yy_is_jam ? 0 : yy_current_state );
}
#ifdef YY_USE_PROTOS
static void yyunput( YY_CHAR c, register YY_CHAR *yy_bp )
#else
static void yyunput( c, yy_bp )
YY_CHAR c;
register YY_CHAR *yy_bp;
#endif
{
register YY_CHAR *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
register int number_to_move = yy_n_chars + 2; /* +2 for EOB chars */
register YY_CHAR *dest =
&yy_current_buffer->yy_ch_buf[yy_current_buffer->yy_buf_size + 2];
register YY_CHAR *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
*--dest = *--source;
yy_cp += dest - source;
yy_bp += dest - source;
yy_n_chars = yy_current_buffer->yy_buf_size;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
if ( yy_cp > yy_bp && yy_cp[-1] == '\n' )
yy_cp[-2] = '\n';
*--yy_cp = c;
/* note: the formal parameter *must* be called "yy_bp" for this
* macro to now work correctly
*/
YY_DO_BEFORE_ACTION; /* set up yytext again */
}
#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
{
int c;
YY_CHAR *yy_cp = yy_c_buf_p;
*yy_cp = yy_hold_char;
if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* this was really a NUL */
*yy_c_buf_p = '\0';
else
{ /* need more input */
yytext = yy_c_buf_p;
++yy_c_buf_p;
switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
{
yy_c_buf_p = yytext + YY_MORE_ADJ;
return ( EOF );
}
YY_NEW_FILE;
#ifdef __cplusplus
return ( yyinput() );
#else
return ( input() );
#endif
}
break;
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext + YY_MORE_ADJ;
break;
case EOB_ACT_LAST_MATCH:
#ifdef __cplusplus
YY_FATAL_ERROR( "unexpected last match in yyinput()" );
#else
YY_FATAL_ERROR( "unexpected last match in input()" );
#endif
}
}
}
c = *yy_c_buf_p;
yy_hold_char = *++yy_c_buf_p;
return ( c );
}
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
{
yy_init_buffer( yy_current_buffer, input_file );
yy_load_buffer_state();
}
#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
{
if ( yy_current_buffer == new_buffer )
return;
if ( yy_current_buffer )
{
/* flush out information for old buffer */
*yy_c_buf_p = yy_hold_char;
yy_current_buffer->yy_buf_pos = yy_c_buf_p;
yy_current_buffer->yy_n_chars = yy_n_chars;
}
yy_current_buffer = new_buffer;
yy_load_buffer_state();
/* we don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
yy_did_buffer_switch_on_eof = 1;
}
#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
{
yy_n_chars = yy_current_buffer->yy_n_chars;
yytext = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
yyin = yy_current_buffer->yy_input_file;
yy_hold_char = *yy_c_buf_p;
}
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) malloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (YY_CHAR *) malloc( (unsigned) (b->yy_buf_size + 2) );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
yy_init_buffer( b, file );
return ( b );
}
#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( b == yy_current_buffer )
yy_current_buffer = (YY_BUFFER_STATE) 0;
free( (char *) b->yy_ch_buf );
free( (char *) b );
}
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif
{
b->yy_input_file = file;
/* we put in the '\n' and start reading from [1] so that an
* initial match-at-newline will be true.
*/
b->yy_ch_buf[0] = '\n';
b->yy_n_chars = 1;
/* we always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[1];
b->yy_eof_status = EOF_NOT_SEEN;
}
# line 335 "<stdin>"
void
latex_latin1 (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_latex_latin1;
yylex ();
}
void
latex_ascii (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_latex_ascii;
yylex ();
}
void
texte_ascii (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_texte_ascii;
yylex ();
}
void
ascii_latex (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_ascii_latex;
yylex ();
}
void
ascii_texte (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_ascii_texte;
yylex ();
}
void
texte_latin1 (FILE *input_file, FILE *output_file)
{
yy_init = 1;
yyin = input_file;
yyout = output_file;
BEGIN X_texte_latin1;
yylex ();
}